
console.log(__dirname)  // /Users/liuhuimin/study/node/06/code
console.log(__filename)  // /Users/liuhuimin/study/node/06/code/1-dirname和filename.js